import request from '@/utils/request'
import Qs from 'qs'

const sysLogApi = {
  list: params => request({
    url: `sysLog?${Qs.stringify(params)}`,
    method: 'get',
    data: { notLoading: true }
  }),
  remove: id => request({
    url: `sysLog/${id}`,
    method: 'delete'
  })
}

export default sysLogApi
